package Element;

import Data.Data;
import Illness.Illness;

public class Pig extends Animal {

    // constructor if the pig is healthy
    public Pig() {
        super(Data.pigName, Data.pigToOthersContact);
    }

    // constructor if the pig is sick
    public Pig(Illness ill) {
        super(Data.pigName, Data.pigToOthersContact, ill);
    }

    public String toString() {
        return Data.pigName;
    }
}
